package Server;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 * 
 * @author Elad
 * this class will contains calls for methods who are schedule to run
 * daily in background.
 *
 */
public class DailyTasks implements Runnable {
	
	public void run() {
        while (true) 
        {
        	System.out.println("Daily task started");
        	
        	System.out.println("Daily task ended");
            try {
            	//sleep for 24 hours
                Thread.sleep(1000*60*60*24);
            } catch (InterruptedException e) {
                break;
            }
        }
    }
	
	

}